package com.bigdata.dao;

import com.bigdata.common.base.BaseDao;
import com.bigdata.model.User;

import java.util.List;

public interface UserMapper extends BaseDao<User, Long> {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKeyWithBLOBs(User record);

    int updateByPrimaryKey(User record);


    public List<User> findUserByName(String username);
}